import { axios } from '@/utils/request'

/**
 * 查询app公告栏
 *
 * @author 郑雄伟
 * @date 2024-01-17 11:23:50
 */
export function appBannerPage (parameter) {
  return axios({
    url: '/appBanner/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加app公告栏
 *
 * @author 郑雄伟
 * @date 2024-01-17 11:23:50
 */
export function appBannerAdd (parameter) {
  return axios({
    url: '/appBanner/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑app公告栏
 *
 * @author 郑雄伟
 * @date 2024-01-17 11:23:50
 */
export function appBannerEdit (parameter) {
  return axios({
    url: '/appBanner/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除app公告栏
 *
 * @author 郑雄伟
 * @date 2024-01-17 11:23:50
 */
export function appBannerDelete (parameter) {
  return axios({
    url: '/appBanner/delete',
    method: 'post',
    data: parameter
  })
}
